<?php

include 'config.php';
$filename = 'countSaveUser.txt';
$arr = explode("\r\n",file_get_contents($filename));
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>body,table{font-size:13px;}</style>
</head>
<body>
<table width="100%">
<tr style="background: #e3e3e3;">
<td valign="top">统计时间</td>
<td valign="top">平台</td>
<td valign="top">几日内</td>
<td valign="top">注册日期</td>
<td valign="top">注册人数</td>
<td valign="top">填写昵称<br>人数</td>
<td valign="top">填写省市<br>人数</td>
<td valign="top">当天走完<br>新手</td>
<td valign="top">当天后走<br>完新手</td>
<td valign="top">走完新手<br>3分钟内离开</td>
<td valign="top">走完新手<br>3分钟后离开</td>
<td valign="top">登录日期</td>
<td valign="top">登录人数</td>
</tr>
<?php
foreach($arr as $k=>$v):
$arr2 = explode('|',$v);

?>
<tr style="background: #f3f3f3;border-top:solid 1px #eee;">
<td><?php echo substr($arr2[0],0,10);?></td>
<td><?php echo $arr2[1];?></td>
<td><?php echo $arr2[2];?></td>
<td><?php echo $arr2[3];?></td>
<td><?php echo $arr2[4];?></td>
<td><?php echo $arr2[5];?></td>
<td><?php echo $arr2[6];?></td>
<td><?php echo $arr2[7];?></td>
<td><?php echo $arr2[8];?></td>
<td><?php echo $arr2[9];?></td>
<td><?php echo $arr2[10];?></td>
<td><?php echo $arr2[11];?></td>
<td><?php echo $arr2[12];?></td>
</tr>

<?php endforeach;?>
</table>
</body>
</html>